import * as API from "@/api/api";

//商务
export default {
    getBusinessList: params => {
        return API.POST("/user/getBusinessList", params, null, 1);
    },
    getTotalPersonProfit: params => {
        return API.POST("/user/getTotalPersonProfitList", params, null, 1);
    },
    
    addBusiness: params => {
        return API.POST("/user/addBusiness", params, null, 1);
    },
    editBusiness: params => {
        return API.POST("/user/editBusiness", params, null, 1);
    },
    editBusinessStatus: params => {
        return API.POST("/user/editBusinessStatus", params, null, 1);
    },
    resetBusinessPassword: params => {
        return API.POST("/user/resetBusinessPassword", params, null, 1);
    },


    getBusinessMsg: params => {
        return API.POST("/user/getBusinessMsg", params, null, 1);
    },

    selectPerformanceList: params => {
        return API.POST("/user/selectPerformanceList", params, null, 1);
    },
    doAddPerformanceList: params => {
        return API.POST("/user/doAddPerformanceList", params, null, 1);
    },
};
